package labirinto.utils;


import java.awt.Graphics;
/**
 * Disegna qualsiasi tipo di rettangoli
 * @see LabPanel
 * @see Drawings 
 * @author koelio
 *
 */
public class Rect implements Drawable {

	private int x, y, width, height;

	public Rect(int x, int y, int width, int height) {
		super();
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	@Override
	public void draw(Graphics g) {
		g.drawRect(x, y, width, height);
		// g.setColor(Color.BLUE);
		// g.fillRect(x,y,width,height)

	}

}
